#pragma once
#include "SDLGameObject.h"
#include "AnimatedGraphic.h"
#include "Defines.h"

class Player
{
public:
	Player();
	~Player(){};
	void LoadPlayerData();

	int getWood(){return mResources.Wood;}
	int getStone(){return mResources.Stone;}
	int getGold(){return mResources.Gold;}

	bool Purchase(Resources costs);
	bool PurchaseUpgrade(int wood, int stone, int gold);

	void addResources(int wood, int stone, int gold);

	void printResources(){ printf("%d %d %d",getWood(), getStone(), getStone()); }
private:
	Resources mResources;
};

